<?php
/**
 * @file $HeadURL: jobcategory.php $
 * @author $Author: ZhangFan (zhangfan1@haibao.com) $
 * @date $Date: 2015-12-14 $
 * @brief
 */

namespace haibao\cms\model\data;


class JobCategory extends \haibao\cms\model\data\Base{

    /**
     * 删除
     */
    const STATUS_DELETE = 0;
    /**
     * 可用
     */
    const STATUS_ENABLE = 1;
    /**
     * 岗位类型名称
     */
    public $CateName;
    /**
     * 创建时间
     */
    public $CreateTime;
    /**
     * 状态
     */
    public $Status;

    public function __construct(){
        parent::__construct();

        $this->stringField( 'CateName','CateName',true );
        $this->dateField( 'CreateTime','CreateTime' );
        $this->intField( 'Status','Status',false,1 );

        $this->setTableName('JobCategory');
    }
}